package com.example.hello.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;

@Data
public class Device {
    private Integer deviceId;
    private Integer factoryId;
    private String name;
    private String model;
    private String serialNumber;
    private String status;
    private BigDecimal energyConsumption;
    private LocalDate installedAt;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
} 